var res = {
    bg_tile : "res/tile.png",
    bg_grid : "res/grid.png",
    btn_refresh : "res/btn_refresh.png",
    png_ClearSans_Bold : "res/fnt/ClearSans-Bold.png",
    fnt_ClearSans_Bold : "res/fnt/ClearSans-Bold.fnt",
    png_YaHei_Regular : "res/fnt/YaHei-Regular.png",
    fnt_YaHei_Regular : "res/fnt/YaHei-Regular.fnt"
};

var g_fonts = [
    {
        type : "font",
        name : "ClearSans-Bold",
        srcs : [
            "res/fonts/ClearSans-Bold.ttf",
            "res/fonts/ClearSans-Bold.eot",
            "res/fonts/ClearSans-Bold.svg",
            "res/fonts/ClearSans-Bold.woff"
        ]
    },
    {
        type : "font",
        name : "ClearSans-Light",
        srcs : [

            "res/fonts/ClearSans-Light.eot",
            "res/fonts/ClearSans-Light.svg",
            "res/fonts/ClearSans-Light.woff",
            "res/fonts/ClearSans-Light.ttf"
        ]
    },
    {
        type : "font",
        name : "ClearSans-Regular",
        srcs : [
            "res/fonts/ClearSans-Regular.eot",
            "res/fonts/ClearSans-Regular.svg",
            "res/fonts/ClearSans-Regular.woff",
            "res/fonts/ClearSans-Regular.ttf"
        ]
    }
];

var g_resources = [];

for (var i in res)
    g_resources.push(res[i]);

for (var j in g_fonts)
    g_resources.push(g_fonts[j]);